Indazolyl carboxylic acid amides useful for treating migraine clusters headache, trigeminal neuralgia or emesis

ABSTRACT

Compounds of formula (I) and pharmaceutically acceptable salts thereof: ##STR1## wherein X is CO and Y is NH; 
     Z is NR 3  wherein R 3  is hydrogen, C 1-6  alkyl, C 3-7  alkenyl-methyl, phenyl or phenyl C 1-4  alkyl either of which phenyl moieties may be substituted by one or two of halogen, CF 3 , C 1-6  alkoxy or C 1-6  alkyl; and R a  is not present; or 
     Z is N and R a  is as defined for R 3  above; 
     R b  is present when X-Y-R 2  is attached at the phenyl ring and is selected from hydrogen, halogen, CF 3 , hydroxy, C 1-6  alkoxy or C 1-6  alkyl; 
     R 1  is hydrogen, halogen, CF 3 , C 1-6  alkyl, C 1-6  alkoxy, C 1-6  alkylthio, C 1-7  acyl, C 1-7  acylamino, C 1-6  alkylsulphonylamino, N(C 1-6  alkylsulphonyl)-N-C 1-4  alkylamino, C 1-6  alkylsulphinyl, hydroxy, nitro or amino, aminocarbonyl, aminosulphonyl, aminosulphonylamino or N-(aminosulphonyl)-C 1-4  alkylamino optionally N-substituted by one or two groups selected from C 1-6  alkyl, C 3-8  cycloalkyl, C 3-8  cycloalkyl C 1-4  alkyl, phenyl or phenyl C 1-4  alkyl groups or optionally N-disubstituted by C 4-5  polymethylene; 
     R 2  is a group of formula (a) ##STR2##  wherein n is 2 or 3; and R 4  is C 1-7  alkyl, C 3-8  cycloalkyl, C 3-8  cycloalkyl-C 1-2  alkyl, or a group (CH 2 ) t  R 6  where t is 1 or 2 and R 6  is thienyl, pyrrolyl or furyl optionally substituted by one or two substituents selected from C 1-6  alkyl, C 1-6  alkoxy, trifluoromethyl or halogen, or is phenyl optionally substituted by one or two substituents having 5-HT antagonist activity and/or gastric motility enhancing activity.

This is a continuation, of application Ser. No. 856,452, filed Apr. 25, 1986.

This invention relates to novel compounds having useful pharmacological properties, to pharmaceutical compositions containing them, to a process and intermediates for their preparation, and to their use as pharmaceuticals.

UK Patent Applications, GB Nos. 2100259A and 2125398A describe benzoates and benzamides having an azabicyclic side chain and possessing 5-HT (5-Hydroxytryptamine) antagonist activity.

A class of novel, structurally distinct compounds has now been discovered. These compounds have 5-HT antagonist activity and/or gastric motility enhancing activity.

Accordingly, the present invention provides a compound of formula (I), or a pharmaceutically acceptable salt thereof: ##STR3## wherein X is CO and Y is NH or O, or X is NH and Y is CO;

Z is CH₂, O, S or NR₃ wherein R₃ is hydrogen, C₁₋₆ alkyl, C₃₋₇ alkenyl-methyl, phenyl or phenyl C₁₋₄ alkyl either of which phenyl moieties may be substituted by one or two of halogen, CF₃, C₁₋₆ alkoxy or C₁₋₆ alkyl; and

R_(b) is present when X-Y-R₂ is attached at the phenyl ring and is selected from hydrogen, halogen, CF₃, hydroxy, C₁₋₆ alkoxy or C₁₋₆ alkyl;

R₁ is hydrogen, halogen, CF₃, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆ alkylthio, C₁₋₇ acyl, C₁₋₇ acylamino, C₁₋₆ alkylsulphonylamino, N-(C₁₋₆ alkylsulphonyl)-N-C₁₋₄ alkylamino, C₁₋₆ alkylsulphinyl, hydroxy, nitro or amino, aminocarbonyl, aminosulphonyl, aminosulphonylamino or N-(aminosulphonyl)-C₁₋₄ alkylamino optionally N-substituted by one or two groups selected from C₁₋₆ alkyl, C₃₋₈ cycloalkyl, C₃₋₈ cycloalkyl C₁₋₄ alkyl, phenyl or phenyl C₁₋₄ alkyl groups or optionally N-disubstituted by C₄₋₅ polymethylene;

R₂ is a group of formula (a), (b) or (c) ##STR4## wherein n is 2 or 3; p and q are independently 1 to 3; and R₄ or R₅ is C₁₋₇ alkyl, C₃₋₈ cycloalkyl, C₃₋₈ cycloalkyl-C₁₋₂ alkyl, or a group (CH₂)_(t) R₆ where t is 1 or 2 and R₆ is thienyl, pyrrolyl or furyl optionally substituted by one or two substituents selected from C₁₋₆ alkyl, C₁₋₆ alkoxy, trifluoromethyl or halogen, or is phenyl optionally substituted by one or two substituents selected from C₁₋₄ alkoxy, trifluoromethyl, halogen, nitro, carboxy, esterified carboxy, and C₁₋₄ alkyl optionally substituted by hydroxy, C₁₋₄ alkoxy, carboxy, esterified carboxy or in vivo hydrolysable acyloxy.

Preferably X is CO and Y is NH or O.

Z is often NR₃.

Suitable values for R₃ include hydrogen, methyl, ethyl, n- and iso-propyl; prop-2-enyl, but-2-enyl, but-3-enyl, 1-methylenepropyl and 1-methylprop-2-yl in their E and Z forms where stereoisomerism exists, phenyl and benzyl optionally substituted by one or two of chloro, bromo, CF₃, methoxy, ethoxy, n- and iso-propoxy, methyl, ethyl, n- and iso-propyl. Preferably R₃ is hydrogen or methyl, most preferably methyl.

Suitable values for R_(b) when present include hydrogen, chloro, bromo, CF₃, methoxy, ethoxy, n- and iso-propoxy, methyl, ethyl, n- and iso-propyl.

Often the X-Y-R₂ side chain is attached at positions 3 or 6, as depicted in formula (I), preferably position 3.

Values for R₁ include hydrogen, fluoro, chloro, bromo, CF₃, methyl, ethyl, methoxy, ethoxy, methylthio, ethylthio, acetyl, propionyl, acetylamino, methylsulphonylamino, methylsulphinyl, hydroxy, nitro; and amino, amino carbonyl, aminosulphonyl, aminosulphonylamino or N-(aminosulphonyl)-methylamino any of which may be optionally substituted by one or two methyl groups or by a cyclopentyl or cyclohexyl group or disubstituted by C₄ or C₅ polymethylene; R₁ is often hydrogen or 5-halo, such as 5-fluoro or 5-chloro.

Preferably p and q are 1 or 2.

Preferably R₄ /R₅ is C₁₋₇ alkyl, including as groups of interest, C₁₋₃ alkyl such as methyl, ethyl and n- and iso-propyl. Within C₁₋₇ alkyl, C₄₋₇ alkyl are also of interest, especially those of the formula (CH₂)uR₉ wherein u is 1 or 2 and R₉ is a secondary or tertiary C₃₋₆ alkyl group. Examples of C₄₋₇ alkyl include n-, sec- and tert-butyl, n-pentyl, n-heptyl, and iso-butyl, 3-methylbutyl, and tert-butylmethyl. R₄ /R₅ is preferably methyl or ethyl, most preferably methyl.

Examples of R₄ /R₅ when C₃₋₈ cycloalkyl-C₁₋₂ alkyl include in particular those wherein the cycloalkyl moiety is cyclohexyl or cyclopropyl.

Examples of R₄ /R₅ include cyclopropylmethyl, cyclobutylmethyl, cyclopentylmethyl, cyclohexylmethyl, cyclopropylethyl, cyclobutylethyl, cycloentylethyl, cyclohexylethyl, tert-butylmethyl, iso-propylmethyl, iso-propylethyl and tert-butylethyl.

R₄ /R₅ may in particular be cyclopropylmethyl, cyclohexylmethyl, iso-propylmethy, tert-butylmethyl or iso-propylethyl, preferably tert-butylmethyl.

Examples of R₄ /R₅, when -(CH₂)_(t) R₆, are those wherein t is 1. R₆ may be 2- or 3-thienyl, 2- or 3- pyrrolyl or 2- or 3-furyl optionally substituted by one of C₁₋₄ alkyl, C₁₋₄ alkoxy, trifluoromethyl or halogen, or preferably is phenyl optionally substituted by one of C₁₋₄ alkoxy, trifluoromethyl, halogen, carboxy, esterified carboxy and C₁₋₄ alkyl optionally substituted by hydroxy, C₁₋₄ alkoxy, carboxy, esterified carboxy and in vivo hydrolysable acyloxy.

The following five paragraphs relate to substituents of R₆ groups as appropriate.

Examples of C₁₋₄ alkoxy substituents include methoxy, ethoxy and n- and iso-propoxy, in particular methoxy.

Examples of halogen substituents include fluoro, chloro and bromo, often in the 3-or 4- position, in particular chloro.

In optionally substituted C₁₋₄ alkyl substituents, examples of C₁₋₄ alkyl include methyl, ethyl, n- and iso-propyl, and n- and iso-, sec- and tert-butyl; methyl however is preferred. Examples of substituents of such alkyl groups include hydroxy, methoxy, ethoxy, n- and iso-propoxy, carboxy, esterified carboxy and in vivo hydrolysable acyloxy. The substitution preferably occurs on the terminal carbon atom of the alkyl group.

Examples of esterified carboxy groups include C₁₋₄ alkoxycarbonyl, such as methoxy-, ethoxy-, n- and iso-propoxycarbonyl, or phenoxycarbonyl or benzyloxycarbonyl optionally substituted in the phenyl ring by one or two substituents selected from C₁₋₄ alkyl, C₁₋₄ alkoxy, trifluoromethyl, halogen or nitro.

Examples of in vivo hydrolysable acyloxy groups include C₁₋₆ alkanoyloxy, for example acetoxy, propionoxy, n- and iso-butyroxy, and 2,3-dimethylpropanoyloxy, benzoyloxy or benzenesulphonyloxy either being optionally substituted in the phenyl ring by one or two substituents selected from Cl₄ alkyl, C₁₋₄ alkoxy, trifluoromethyl, halogen or nitro, or sulphonyloxy groups, for example C₁₋₆ alkanesulphonyloxy group, such as methanesulphonyloxy.

Examples of R₄ /R₅, when --(CH₂)_(t) R₆, are those wherein t is 1 and R₆ is unsubstituted phenyl or monosubstituted phenyl. Examples of substituents include methyl, trifluoromethyl, fluoro, chloro and bromo.

The pharmaceutically acceptable salts of the compounds of the formula (I) include acid addition salts with conventional acids such as hydrochloric, hydrobromic, boric, phosphoric, sulphuric acids and pharmaceutically acceptable organic acids such as acetic, tartaric, maleic, citric, succinic, benzoic, ascorbic, methanesulphonic, α-keto glutaric, α-glycerophosphoric, and glucose-1-phosphoric acids.

The pharmaceutically acceptable salts of the compounds of the formula (I) are usually acid addition salts with acids such as hydrochloric, hydrobromic, phosphoric, sulphuric, citric, tartaric, lactic and acetic acid.

Preferably the acid addition salt is the hydrochloride salt.

Examples of pharmaceutically acceptable salts include quaternary derivatives of the compounds of formula (I) such as the compounds quaternised by compounds R₁₀ -T wherein R₁₀ is C₁₋₆ alkyl, phenyl-C₁₋₆ alkyl or C₅₋₇ cycloalkyl, and T is a radical corresponding to an anion of an acid. Suitable examples of R₁₀ include methyl, ethyl and n- and iso-propyl; and benzyl and phenethyl. Suitable examples of T include halides such as chloride, bromide and iodide.

Examples of pharmaceutically acceptable salts of the compounds of formula (I) also form internal salts such as pharmaceutically acceptable N-oxides.

The compounds of the formula (I) and their pharmaceutically acceptable salts, (including quaternary derivatives and N-oxides) may also form pharmaceutically acceptable solvates, such as hydrates, which are included whenever such compounds and salts are herein referred to.

It will of course be realised that some of the compounds of the formula (I) have chiral or prochiral centres and thus are capable of existing in a number of stereoisomeric forms including enantiomers. The invention extends to each of these stereoisomeric forms (including enantiomers), and to mixtures thereof (including racemates). The different stereoisomeric forms may be separated one from the other by the usual methods.

It will also be realised that compounds of the formula (I) wherein R₃ is hydrogen can exist as two tautomeric forms i.e. that wherein R₃ is hydrogen and that wherein the hydrogen is attached to the indazole nitrogen at position 2 and Z is N. The invention extends to each of these forms and to mixtures thereof. The predominant tautomeric form is usually that wherein R₃ is hydrogen.

A group of compounds within formula (I) is of formula (II): ##STR5## wherein n¹ is 2 or 3, Y¹ is NH or O and the remaining variables are as defined in formula (I).

Examples of the variables and preferred variables are as so described for corresponding variables in relation to formula (I).

A further group of compounds within formula (I) is of formula (III): ##STR6## wherein p¹ is 1 or 2 and the remaining variables are as defined in formulae (I) and (II).

Examples of the variables and preferred variables are as so described for the corresponding variables in formula (I).

There is a further group of compounds within formula (I) of formula (IV): ##STR7## wherein q¹ is 1 or 2 and the remaining variables are as defined in formulae (I) and (II).

Examples of the variables and preferred variables are so described as the corresponding variables in formula (I).

The invention also provides a process for the preparation of a compound of formula (I), or a pharmaceutically acceptable salt thereof, which process comprises reacting a compound of formula (V): ##STR8## with a compound of formula (VI):

    LR.sub.2                                                   (VI)

wherein

G is COQ₁ where Q₁ is a group displaceable by a nucleophile, and L is NH₂ or OH or a reactive derivative thereof and the remaining variables are as hereinbefore defined; and thereafter optionally converting any R₁, R₃, R₄, R₅, and R_(b) group to another R₁, R₃, R₄, R₅, or R_(b) group respectively, and optionally forming a pharmaceutically acceptable salt of the resultant compound of formula (I).

Examples of leaving groups Q₁, displaceable by a nucleophile include halogen such as chloro and bromo, hydroxy, carboxylic acyloxy such as C₁₋₄ alkanoyloxy or C₁₋₄ alkoxycarbonyloxy and activated hydrocarbyloxy such as pentachlorophenoxy. Alternatively, when G is COQ₁ and Z is NH in formula (V), a nitrogen heterocycle may act as the leaving group i.e. that obtained by reaction of a compound of formula (V) wherein G is CO₂ H and Z is NH with thionyl chloride to give a diindazolo [2,3-a,2'3'-d]pyrazine-7,14-dione.

If a group Q₁ is a halide, then the reaction is preferably carried out at non-extreme temperatures in an inert non-hydroxylic solvent, such as benzene, dichloromethane, toluene, diethyl ether, THF (tetrahydrofuran) or DMF (dimethylformamide). It is also preferably carried out in the presence of an acid acceptor, such as an organic base, in particular a tertiary amine, such as triethylamine, trimethylamine, pyridine or picoline, some of which can also function as the solvent. Alternatively, the acid acceptor can be inorganic, such as calcium carbonate, sodium carbonate or potassium carbonate. Temperatures of 0°-100° C., in particular 10°-80° C. are suitable.

If a group Q₁ is hydroxy, then the reaction is generally carried out in an inert non-hydroxylic solvent, such as dichloromethane, THF or DMF optionally in the presence of a dehydrating catalyst, such as a carbodiimide, for example dicyclohexylcarbodiimide. When Y is CO the compound of formula (IV) is preferably in the form of an acid addition salt, such as the hydrohalide, for example the hydrochloride. The reaction may be carried out at any non-extreme temperature, such as -10° to 100° C., for example, 0° to 80° C. Generally, higher reaction temperatures are employed with less active compounds whereas lower temperatures are employed with the more active compounds.

If a group Q₁ is carboxylic acyloxy, then the reaction is preferably carried in substantially the same manner as the reaction when Q₁ is halide. Suitable examples of acyloxy leaving groups include C₁₋₄ alkanoyloxy and C₁₋₄ alkoxycarbonyloxy, in which case the reaction is preferably carried out in an inert solvent, such as methylene chloride, at a non-extreme temperature for example ambient temperatures in the presence of an acid acceptor, such as triethylamine. C₁₋₄ alkoxycarbonyloxy leaving groups may be generated in situ by treatment of the corresponding compound wherein Q₁ is hydroxy with a C₁₋₄ alkyl chloroformate.

If a group Q₁ is activated hydrocarbyloxy then the reaction is preferably carried out in an inert polar solvent, such as dimethylformamide. It is also preferred that the activated hydrocarbyloxy group is a pentachlorophenyl ester and that the reaction is carried out at ambient temperature.

When the leaving group Q₁ is a nitrogen heterocycle as hereinbefore described the reaction is carried out in a similar manner as when Q₁ is a halide.

When L is OH or a reactive derivative thereof, the reactive derivative is often a salt, such as the lithium salt.

Pharmaceutically acceptable salts of the compounds of this invention may be formed conventionally.

The salts may be formed for example by reaction of the base compound of formula (I) with a pharmaceutically acceptable organic or inorganic acid.

It will be apparent that compounds of the formula (I) containing an R₁, R₃, R₄, R₅, or R_(b) group which is convertible to another R₁, R₃, R₄, R₅, or R_(b) group are useful novel intermediates. A number of such conversions is possible not only for the end compounds of formula (I), but also for their intermediates as follows:

(i) a hydrogen substituent is convertible to a nitro substituent by nitration;

(ii) a nitro substituent is convertible to an amino substituent by reduction;

(iii) a C₁₋₇ acylamino substituent is convertible to an amino substituent by deacylation;

(iv) an amino substituent is convertible to a C₁₋₄ acylamino substituent by acylation with a carboxylic acid derivative;

(v) a hydrogen substituent is convertible to a halogen substituent by halogenation;

(vi) a C₁₋₆ alkylthio or C₁₋₆ alkylsulphinyl substituent is convertible to a C₁₋₆ alkylsulphinyl or a C₁₋₆ alkylsulphonyl substituent respectively by oxidation;

(vii) an amino, aminocarbonyl, aminosulphonyl, aminosulphonylamino or N-(aminosulphonyl)-N-C₁₋₄ alkylamino substituent is convertible to a corresponding substituent substituted by one or two groups selected from C₁₋₆ alkyl, C₃₋₈ cycloalkyl, C₁₋₄ alkyl or phenyl C₁₋₄ alkyl groups any of which phenyl groups may be substituted by one or more groups selected from halogen, trifluoromethyl, C₁₋₆ alkyl, C₁₋₆ alkoxy and nitro, or disubstituted by C₄₋₅ polymethylene , by N-alkylation;

(viii) an amino substituent is convertible to a C₁₋₆ alkylsulphonylamino group or an aminosulphonylamino group optionally N-substituted as defined by acylation with a C₁₋₆ alkylsulphonyl chloride or di-substituted aminosulphonyl chloride.

(ix) A C₁₋₄ alkylamino substituent group is convertible to a N-(C₁₋₆ alkylsulphonyl)N-C₁₋₄ alkylamino group or an N-(amino sulphonyl)N-C₁₋₄ alkylamino group optionally N-substituted as defined by acylation with a C₁₋₆ alkylsulphonyl chloride or di-substituted aminosulphonyl chloride.

Conversions (i) to (ix) are only exemplary and are not exhaustive of the possibilities.

In regard to (i), nitration is carried out in accordance with known procedures.

In regard to (ii), the reduction is carried out with a reagent suitable for reducing nitroanisole to aminoanisole.

In regard to (iii), deacylation is carried out by treatment with a base, such as an alkali metal hydroxide.

In regard to (iv), (viii), and (ix) the acylation is carried out with an acylating agent, such as the corresponding acid or acid chloride. Formylation is carried out with the free acid.

In regard to (v), halogenation is carried out with conventional halogenating agents.

In regard to (vi), oxidation is carried out at below ambient temperatures in a non-aqueous solvent, such as a chlorinated hydrocarbon, in the presence of an organic peracid, such as 3-chloroperbenzoic acid, or in water in the presence of a soluble strong inorganic oxidant, such as an alkali metal permanganate or in aqueous hydrogen peroxide. It will be realised that this process may also N-oxidise the N- moiety of a side chain (a), (b) or (c) and suitable precautions will routinely be taken by the skilled man.

In regard to (vii), alkylation is carried out with a corresponding alkylating agent such as the chloride or bromide under conventional conditions.

R₄ /R₅ optionally substituted benzyl as hereinbefore defined may be replaced by other R₄ /R₅. Such benzyl groups may, for example, be removed, when R₁ or R_(b) is not halogen, by conventional transition metal catalysed hydrogenolysis to give compounds of the formula (VII): ##STR9## wherein R₂ ¹ is of formula (d) or (e) ##STR10## wherein the variables are as defined in formula (I).

This invention also provides a further process for the preparation of a compound of the formula (I) wherein R₂ is of formula (a) or (c), which comprises N-alkylating a compound of formula (VII), and optionally forming a pharmaceutically acceptable salt, of the resulting compound of the formula (I).

In this further process of the invention `N-alkylation` comprises the substitution of the N-atom depicted in formula (VII) by any group R₄ /R₅ as hereinbefore defined. This may be achieved by reaction of the compound of formula (VII) with a compound R₄ Q₂ or R₅ Q₂ wherein R₄ and R₅ are as hereinbefore defined and Q₂ is a leaving group.

Suitable values for Q₂ include groups displaced by nucleophiles such as Cl, Br, I, OSO₂ CH₃ or OSO₂ C₆ H₄ pCH₃.

Favoured values for Q₂ include Cl, Br and I.

The reaction may be carried out under conventional alkylation conditions for example in an inert solvent such as dimethylformamide in the presence of an acid acceptor such as potassium carbonate. Generally the reaction is carried out at non-extreme temperature such as at ambient or slightly above.

Alternatively, `N-alkylation` may be effected under conventional reductive alkylation conditions when the group R₄ or R₅ in the compound of formula (I) contains a methylene group adjacent to the N-atom in the bicycle.

Interconverting R₄ or R₅ in the compound of the formula (VII) before coupling with the compound of the formula (V) is also possible. Such interconversions are effected conveniently under the above conditions. It is desirable to protect any amine function with a group readily removable by acidolysis such as a C₂₋₇ alkanoyl group, before R₄ /R₅ interconversion.

The substituents in the phenyl ring when R₄ or R₅ is benzyl in a compound of formula (I), in particular the substituted C₁₋₄ alkyl substituents, are interconvertible. A number of such interconversions are possible not only for the end compounds of formula (I), but also for their intermediates as follows:

(i) a carboxy C₁₋₄ alkyl substituent is convertible to an esterified carboxy C₁₋₄ alkyl substituent by esterification;

(ii) an esterified carboxy C₁₋₄ alkyl substituent is convertible to a carboxy C₁₋₄ alkyl substituent by de-esterification;

(iii) an C₁₋₄ alkoxy C₁₋₄ alkyl substituent or an in vivo hydrolysable C₂₋₄ acyloxy C₁₋₄ alkyl substituent is convertible to an hydroxy C₁₋₄ alkyl substituent by de-etherification;

(iv) an optionally esterified carboxy or carboxy C₁₋₃ alkyl substituent is convertible to an hydroxymethyl or hydroxy C₂₋₄ alkyl substituent by reduction; and

(v) a hydroxy C₁₋₄ alkyl substituent is convertible to C₁₋₄ alkoxy C₁₋₄ alkyl by O-alkylation or to in vivo hydrolysable C₁₋₄ acyloxy C₁₋₄ alkyl by O-acylation.

Conversions (i) to (v) are only exemplary and are not exhaustive of the possibilities.

In regard to (i) and (ii), the esterification and deesterification reactions are carried out in conventional manner.

In regard to (iii), a C₁₋₄ alkoxy C₁₋₄ alkyl substituent is convertible to an hydroxy C₁₋₄ alkyl substituent by conventional methods, such as warming with aqueous hydrobromic acid or by treatment with pyridine hydrochloride, boron tribromide, boron triiodide or iodotrimethylsilane.

An in vivo hydrolysable C₂₋₄ acyloxy C₁₋₄ alkyl substituent is convertible to an hydroxy C₁₋₄ alkyl substituent by acid or base hydrolysis.

In regard to (iv), the reduction is carried out with a selective metal complex hydride, for example lithium aluminium hydride, under conventional conditions.

In regard to (v), O-alkylation is carried out under conventional conditions in an inert solvent at a non-extreme temperature such as ambient temperature or slightly above or at reflux temperature. The C₁₋₄ alkylating agent has a leaving group that is readily displaceable by a nucleophile. Examples of leaving groups include halide, such as chloride, bromide or iodide, or labile acyloxy groups, such as mesyl and tosyl.

O-acylation is carried out under conventional conditions with an acylating agent which has an acyl group capable of forming an in vivo hydrolysable acyloxy group and leaving group, such as halide, for example chloride and bromide, and hydrogen. When halide is the leaving group, the reaction is generally carried out in the presence of a base. When hydroxy is the leaving group, the reaction is generally carried out in the presence of a dehydrating agent, such as dicyclohexylcarbodiimide, in an inert solvent at non-extreme temperature, such as ambient temperature or slightly above, or reflux temperature.

Before carrying out any of these conversions, the effect, if any, on other substituents should be considered, and such reagents as are appropriate should be selected together with the adoption of such precautionary measures as are necessary. For example, O-alkylation and O-acylation may also produce N-alkylated and N-acylated products respectively unless the nitrogen atom(s) is (are) previously protected. This may be conveniently achieved by carrying out the alkylation or acylation reaction in a strong acid, such as trifluoroacetic acid, which protonates, and thereby protects, the nitrogen atom(s).

When R₄ or R₅ in the compound of formula (VI) contains a methylene group adjacent to the N-atom in the bicycle it is often convenient in the preparation of such a compound of formula (VI) to prepare the corresponding compound wherein the methylene group is replaced by --CO--, or for R₄ or R₅ is methyl, where the methyl group is replaced by esterified carboxyl. Such compounds may then be reduced using a strong reductant such as lithium aluminium hydride to the corresponding compound of formula (V).

The compounds of formula (V) and (I) are known or are preparable analogously to, or routinely from, known compounds.

Compounds of the formula (VI) wherein R₂ is of formula (c) may be prepared as described in European Patent Publication No. EP-A-115933 or by analogous methods thereto.

Compounds of the formula (VII) are novel and form an aspect of the invention.

It will be realised that in the compound of the formula (I) the -X-Y-linkage may have an endo or exo orientation with respect to the ring of the bicyclic moiety to which it is attached. A mixture of endo and exo isomers of the compound of the formula (I) may be synthesised non-stereospecifically and the desired isomer separated conventionally therefrom e.g. by chromatography; or alternatively the endo and exo isomer may if desired by synthesised from the corresponding isomer of the compound of the formula (VI).

The compounds of the present invention are 5-HT antagonists and it is thus believed may generally be used in the treatment or prophylaxis of migraine, cluster headaches and trigeminal neuralgia; and also as anti-emetics, in particular that of preventing vomiting and nausea associated with cancer therapy, and motion sickness. Examples of such cancer therapy include that using cytotoxic agents, such as cisplatin, doxorubicin and cyclophosphamide, particularly cisplatin; and also radiation treatment. Compounds which are 5-HT antagonists may also be of potential use in the treatment of CNS disorders such as anxiety and psychosis; arrythmia, obesity and irritable bowel syndrome.

The compounds of the present invention also have gastric motility enhancing activity, useful in the treatment of disorders such as retarded gastric emptying, dyspepsia, flatulence, oesophagal reflux and peptic ulcer.

The invention also provides a pharmaceutical composition comprising a compound of formula (I), or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier.

Such compositions are prepared by admixture and are suitably adapted for oral or parenteral administration, and as such may be in the form of tablets, capsules, oral liquid preparations, powders, granules, lozenges, reconstitutable powders, injectable and infusable solutions or suspensions or suppositories. Orally administrable compositions are preferred, since they are more convenient for general use.

Tablets and capsules for oral administration are usually presented in a unit dose, and contain conventional excipients such as binding agents, fillers, diluents, tabletting agents, lubricants, disintegrants, colourants, flavourings, and wetting agents. The tablets may be coated according to well known methods in the art, for example with an enteric coating.

Suitable fillers for use include cellulose, mannitol, lactose and other similar agents. Suitable disintegrants include starch, polyvinylpolypyrrolidone and starch derivatives such as sodium starch glycollate. Suitable lubricants include, for example, magnesium stearate.

Suitable pharmaceutically acceptable wetting agents include sodium lauryl sulphate. Oral liquid preparations may be in the form of, for example, aqueous or oily suspensions, solutions, emulsions, syrups, or elixirs, or may be presented as a dry product for reconstitution with water or other suitable vehicle before use. Such liquid preparations may contain conventional additives such as suspending agents, for example sorbitol, syrup, methyl cellulose, gelatin, hydroxyethylcellulose, carboxymethylceluulose, aluminium stearate gel or hydrogenated edible fats, emulsifying agents, for example lecithin, sorbitan monooleate, or acacia; non-aqueous vehicles (which may include edible oils), for example, almond oil, fractionated coconut oil, oily esters such as esters of glycerine, propylene glycol, or ethyl alcohol; preservatives, for example methyl or propyl p-hydroxybenzoate or sorbic acid, and if desired conventional flavouring or colouring agents.

Oral liquid preparations are usually in the form of aqueous or oily suspensions, solutions, emulsions, syrups, or elixirs or are presented as a dry product for reconstitution with water or other suitable vehicle before use. Such liquid preparations may contain conventional additives such as suspending agents, emulsifying agents, non-aqueous vehicles (which may include edible oils), preservatives, and flavouring or colouring agents.

The oral compositions may be prepared by conventional methods of blending, filling or tabletting. Repeated blending operations may be used to distribute the active agent throughout those compositions employing large quantities of fillers. Such operations are, of course, conventional in the art.

For parenteral administration, fluid unit dose forms are prepared containing a compound of the present invention and a sterile vehicle. The compound, depending on the vehicle and the concentration, can be either suspended or dissolved. Parenteral solutions are normally prepared by dissolving the compound in a vehicle and filter sterilising before filling into a suitable vial or ampoule and sealing. Advantageously, adjuvants such as a local anaesthetic, preservatives and buffering agents are also dissolved in the vehicle. To enhance the stability, the composition can be frozen after filling into the vial and the water removed under vacuum.

Parenteral suspensions are prepared in substantially the same manner except that the compound is suspended in the vehicle instead of being dissolved and sterilised by exposure of ethylene oxide before suspending in the sterile vehicle. Advantageously, a surfactant or wetting agent is included in the composition to facilitate uniform distribution of the compound of the invention.

The invention further provides a method of treatment prophylaxis of migraine, cluster headache, trigeminal neuralgia and/or emesis in mammals, such as humans, which comprises the administration to the mammal of an effective amount of a compound of the formula (I) or a pharmaceutically acceptable salt thereof.

An amount effective to treat the disorders hereinbefore described depends on the relative efficacies of the compounds of the invention, the nature and severity of the disorder being treated and the weight of the mammal. However, a unit dose for a 70 kg adult will normally contain 0.5 to 1000 mg for example 1 to 500 mg, of the compound of the invention. Unit doses may be administered once or more than once a day, for example, 2, 3 or 4 times a day, more usually 1 to 3 times a day, that is in the range of approximately 0.001 to 50 mg/kg/day, more usually 0.002 to 25 mg/kg/day.

No adverse toxicological effects are indicated at any of the aforementioned dosage ranges.

The invention also provides a compound of formula (I) or a pharmaceutically acceptable salt thereof for use as an active therapeutic substance, in particular for use in the treatment of migraine, cluster headache, trigeminal neuralgia and/or emesis.

The following Examples illustrate the preparation of compounds of formula (I).

N.B. Nomenclature is based on Chemical Abstracts Index Guide 1977 published by the American Chemical Society.

EXAMPLE 1 3-Indazolecarboxylic acid (endo-8-methyl-8-azabiclo[3.2.1]oct-3-yl)ester (E1) ##STR11##

A solution of tropine (0.45 g) and KBu^(t) O (0.36 g) in amine-free DMF (50 ml) was stirred at room temperature for 30 min. The more volatile t-butanol was removed by rotary evaporation and the residual solution treated with diinazolo[2,3-a 2',3'-d]-pyrazine-7,14-dione (0.2 g). After heating to 120° for 2 h, the reaction mixture was cooled, evaporated to dryness and the residue treated with saturated NaHCO₃ solution (50 ml). The pH was adjusted to ca.8 with acetic acid and the product extracted into CHCl₃ (3×100 ml). The organic extracts were dried (Na₂ SO₄), evaporated to dryness and the residue triturated with diethylether to give E1 (0.16 g) mp 234°-235° (dec).

¹ H NMR (270 MHz, d₆ -DMSO), δ 13.5 (1H, brs), 8.18 (1H, d), 7.60 (1H, d), 7.39 (1H, t) 7.28 (1H, t), 5.31 (1H, t), 3.23 (2H, brs), 2.36 (3H, s), 2.45-1.90 (8H, m).

EXAMPLE 2 N-(Endo-9-methyl-9-azabicyclo[3,3,1]non-3-yl)indazole-3-carboxamide (E2) ##STR12##

A suspension of diindazolo[2,3-a,2',3'-d)pyrazin-7,14-dione (0.76 g) in DMF (20 ml) was heated with endo-9-methyl-9-azabicyclo[3,3,1]nonan-3-amine (0.31 g) for 2 h at 100° C. After evaporation to dryness, the residue was purified by column chromatography (TLC grade alumina, CHCl₃) to give the title compound (E2) (0.12 g) m.p. 209°-212° C.

¹ H NMR (270 MHz, CDCl₃), δ 13.01 (brs, 1H), 8.30 (d, 1H), 7.54 (d, 1H), 7.35 (t, 1H), 7.20 (t, 1H), 7.10 (d, 1H), 4.54 (dtt, 1H), 3.12 (brd, 2H), 2.60-2.40 (m, 5H including 2.53, s, 3H), 2.10-1.90 (m, 3H), 1.60-1.35 (m, 3H), 1 15-1.00 (m, 2H).

EXAMPLE 3 1-Methyl-3-indazolecarboxylic acid (endo-8-methyl-8-azabicyclo[3,2,1]oct-3-yl)ester monohydrochloride (E3) ##STR13##

Following the procedure outlined in Example 1, the potassium salt of tropine (0.37 g) was reacted with 1-methyl-3-indazolcarboxylic acid chloride (0.21 g) to give, after treatment with ethanolic hydrogen chloride, the title compound (E3) (0.21 g) m.p. 257°-260° C.

¹ H NMR (79.5 MHz, CDCl₃), δ 8.30-8.10 (m, 1H), 7.60-7.20 (m, 3H), 5.55-5.30 (m, 1H), 4.18 (s, 3H), 4.00-3.70 (m, 2H), 3.40-2.00 (m, 11H including 2.83, s, 3H).

Following the procedure outlined in Example 2, the following compounds were prepared:

EXAMPLE 4 N-(Endo-9-methyl-9-azabicyclo[3,3,1]non-3-yl)-5-fluoroindazole-3-carboxamide (E4) ##STR14##

m.p. 264°-267° C. (dec.)

¹ H NMR (79.5 MHz, CDCl₃ +(CD₃)₂ SO), δ 13.30 (brs, 1H), 7.92 (dd. 1H), 7.53 m, 1H), 7.30-6.95 (m, 2H), 4.80-4.20 (m, 1H), 3.30-2.90 (m, 2H), 2.70-2.80 (m, 13H including 2.52, s, 3H).

EXAMPLE 5 N-(Endo-9-methyl-9-azabicyclo[3,3,1]non-3-yl)-5-chloroindazole-3-carboxamide (E5) ##STR15##

¹ H NMR (79.5 MHz, CDCl₃ +(CD₃)₂ SO), δ 13.50 (brs, 1H), 8.25 (brs, 1H), 7.80-7.25 (m, 3H), 4.75-4.20 (m, 1H), 3.50-2.80 (m, 2H), 2.65-0.80 (m, 13H including 2.49, s, 3H).

EXAMPLE 6 N-(Endo-9-methyl-9-azabicyclo[3,3,1]non-3-yl)-1-methylindazole-3-carboxamide monohydrochloride (E6) ##STR16##

A stirred solution of 1-methylindazole-3-carboxylic acid chloride (0.77 g) in dichloromethane (50 ml) was treated with a solution of endo-9-methyl-9-azabicyclo[3,3,1]nonan-3-amine (0.7 g) and triethylamine (0.7 ml) in dichloromethane (30 ml). After 2 h, the reaction mixture was washed with saturated aqueous NaHCO₃ (100 ml) and dried (K₂ CO₃). The oil remaining after evaporation of the solvent was purified by column chromatography (TLC-alumina, CHCl₃) and treated with hydrogen chloride to give the title compound E6. m.p. 290°-292° C.

¹ H NMR (270 MHz, CDCl₃), δ8.30 (d, 1H), 7.50-7.20 (m, 4H), 4.80-4.50 (m, 1H), 4.12 and 4.10 (2-s, 3H), 3.75-3.55 (m, 2H), 2.99 and 2.91 (2-s, 3H), 2.82-2.40 (m, 4H), 2.20-2.00 (m, 2H), 1.90-1.60 (m, 4H).

Following the procedure outlined in Example 6, the following compounds were prepared:

EXAMPLE 7 N-(Endo-9-methyl-9-azabicyclo[3,3,1]non-3-yl)-1-ethylindazole-3-carboxamide (E8) ##STR17##

¹ H NMR (79.5 MHz, CDCl₃), δ8.42 (dm, 1H), 7.55-7.10 (m, 3H), 6.80 (brd, 1H), 4.80-4.20 (m, 3H including 4.42, q, 2H), 3.30-2.90 (m, 2H), 2.75-2.30 (m, 5H including 2.55, s, 3H), 2.20-0.90 (m, 11H including 1.54, t, 3H).

EXAMPLE 8 N-(Endo-9-methyl-9-azabicyclo[3,3,1]non-3-yl)-1,2-benzisoxazole-3-carboxamide (E9) ##STR18##

m.p. 126°-128° C.

¹ H NMR (79.5 MHz, CDCl₃) δ 8.35 (dm, 1H), 7.80-7.25 (m, 3H), 6.80 (brd, 1H), 4.80-4.30 (m, 1H), 3.35-3.00 (m, 2H), 2.80-2.25 (m, 5H including 2.56, s, 3H), 2.20-0.90 (m, 8H).

EXAMPLE 9 5α-N-(2-methyl-2-azabicyclo[2,2,2]oct-5-yl)-1-methyl- indazole-3-carboxamide (E10) ##STR19##

¹ H NMR (270 MHz, CDCl₃), δ 8.36 (dm, 1H), 7.50-7.49 (m, 2H), 7.33-7.24 (m, 1H), 7.05 (brd, 1H), 4.48-4.35 (m, 1H), 4.10 (s, 3H), 2.90 (brs, 2H), 2.76-2.60 (m, 2H), 2.45 (s, 3H), 2.15-2.00 (m, 2H), 1.95-1.80 (m, 1H), 1.71-1.55 (m, 2H), 1.44-1.34 (m, 1H).

EXAMPLE 10 N-(Exo-2-methyl-2-azabicyclo[2,2,1]hept-5-yl)-1-methylindazole-3-carboxamide monohydrochloride (E11) ##STR20##

¹ H NMR (270 MHz, CDCl₃), δ 13.00-12.50 (m, 1H), 8.28 (d, 1H), 7.50-7.20 (m, 3H), 6.82 (brs, 1H), 5.10-4.60 (m, 1H), 4.20-3.70 (m, 4H including 4.09, s, 3H), 3.30-1.70 (m, 10H).

EXAMPLE 11 N-(Endo-2-methyl-2-azabicyclo[2,2,1]hept-5-yl)-1-methylindazole-3-carboxamide monohydrochloride (E12) ##STR21##

¹ H NMR (270 MHz, CDCl₃), δ 12.40-12.10 (m, 1H), 8.40-8.20 (m, 2H), 7.50-7.20 (m, 3H), 4.72-4.55 (m, 1H), 4.22 (d, 1H), 4.13 (s, 3H), 3.80 (s, 1H), 3.21 (s, 1H), 3.00-2.85 (m, 4H including 2.80, s, 3H), 2.61 (d, 1H), 2.26 (t, 1H), 2.16-1.80 (m, 2H).

Pharmacology Antagonism of the von Bezold-Jarisch reflex

The compounds were evaluated for antagonism of the von Bezold-Jarisch reflex evoked by 5-HT in the anaesthetised rat according to the following method:

Male rats 250-350 g, were anaesthetised with urethane (1.25 g/kg intraperitoneally) and blood pressure and heart rate recorded as described by Fozard J. R. et al., J. Cardiovasc. Pharmacol. 2, 229-245 (1980). A submaximal dose of 5-HT (usually 6 μg/kg) was given repeatedly by the intravenous route and changes in heart rate quantified. Compounds were given intravenously and the concentration required to reduce the 5 HT-evoked response to 50% of the control response (ED₅₀) was then determined.

The results were as follows.

    ______________________________________                                         Compound No.   ED.sub.50 (mg/kg)                                               ______________________________________                                         E1             0.005                                                           E2             0.0011                                                          E3             0.0014                                                          E5             0.015                                                           E6             0.0007                                                          E8             0.0006                                                          E10            0.0017                                                          E11            0.01                                                            ______________________________________                                     

I claim:
 1. A compound of formula (I), or a pharmaceutically acceptable salt thereof: ##STR22## wherein X is CO and Y is NH;Z is NR₃ wherein R₃ is hydrogen, C₁₋₆ alkyl, C₃₋₇ alkenyl-methyl, phenyl or phenyl C₁₋₄ alkyl either of which phenyl moieties may be substituted by one or two of halogen, CF₃, C₁₋₆ alkoxy or C₁₋₆ alkyl; R_(b) is present when X-Y-R₂ is attached at the phenyl ring and is selected from hydrogen, halogen, CF₃, hydroxy, C₁₋₆ alkoxy or C₁₋₆ alkyl; R₁ is hydrogen, halogen, CF₃, C₁₋₆ alkyl, C₁₋₆ alkoxy, C₁₋₆ alkylthio, C₁₋₇ acyl, C₁₋₇ acylamino, C₁₋₆ alkylsulphonylamino, N-(C₁₋₆ alkylsulphonyl)-N-C₁₋₄ alkylamino, C₁₋₆ alkylsulphinyl, hydroxy, nitro or amino, aminocarbonyl, aminosulphonyl, aminosulphonylamino or N-(aminosulphonyl)-C₁₋₄ alkylamino optionally N-substituted by one or two groups selected from C₁₋₆ alkyl, C₃₋₈ cycloalkyl, C₃₋₈ cycloalkyl C₁₋₄ alkyl, phenyl or phenyl C₁₋₄ alkyl groups or optionally N-disubstituted by C₄₋₅ polymethylene; R₂ is a group of formula (a), ##STR23## wherein n is 2 or 3; and R₄ is C₁₋₇ alkyl, C₃₋₈ cycloalkyl, C₃₋₈ cycloalkyl-C₁₋₂ alkyl, or a group (CH₂)_(t) R₆ where t is 1 or 2 and R₆ is thienyl, pyrrolyl or furyl optionally substituted by one or two substituents selected from C₁₋₆ alkyl, C₁₋₆ alkoxy, trifluoromethyl or halogen, or is phenyl optionally substituted by one or two substituents selected from C₁₋₄ alkoxy, trifluoromethyl, halogen, nitro, carboxy, esterified carboxy, and C₁₋₄ alkyl optionally substituted by hydroxy, C₁₋₄ alkoxy, carboxy, esterified carboxy or in vivo hydrolysable acyloxy.
 2. A compound according to claim 1 wherein n is
 3. 3. A compound according to claim 1 wherein R₃ is hydrogen or methyl.
 4. A compound according to claim 1 wherein the X-Y-R₂ side chain is attached at position 3, as depicted in formula (I) in claim
 1. 5. A compound according to claim 1 wherein R₁ is hydrogen or 5-halo.
 6. A compound according to claim 1 wherein R₄ is C₁₋₇ alkyl.
 7. A compound according to claim 4 wherein R₄ is methyl.
 8. A compound selected from the group consisting of:N-(endo-9-methyl-9-azabicyclo[3.3.1]non-3-yl)-indazole-3carboxamide, N-(endo-9-methyl-9-azabicyclo[3.3.1]non-3-yl)-5-fluoroindazole-3-carboxamide, N-(endo-9-methyl-9-azabicyclo[3.3.1]non-3-yl)-5-chloroindazole-3-carboxamide, N-(endo-9-methyl-9-azabicyclo[3.3.2]non-3-yl)-1-methylindazole-3-carboxamide, N-(endo-9-methyl-9-azabicyclo[3.3.1]non-3-yl)-1-ethylindazole-3-carboxamide, and pharmaceutically acceptable salts of any of the foregoing.
 9. A compound according to claim 1 wherein Y-R₂ is in the endo configuration.
 10. N-(Endo-9-methyl-9-azabicyclo[3.3.1]non-3-yl)-1-methylindazole-3-carboxamide monohydrochloride.
 11. A pharmaceutical composition for the treatment of migraine or cluster headache, comprising an effective amount of a compound according to claim 1 or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier.
 12. A pharmaceutical composition for the treatment of trigeminal neuralgia, comprising an effective amount of a compound according to claim 1 or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier.
 13. A pharmaceutical composition for the treatment of emesis, comprising an effective amount of a compound according to claim 1 or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier.
 14. A method of treatment or prophylaxis of migraine or cluster headache in mammals, which comprises the administration to the mammal of an effective amount of a compound according to claim 1, or a pharmaceutically acceptable salt thereof.
 15. A method of treatment or prophylaxis of trigeminal neuralgia in mammals, which comprises the administration to the mammal of an effective amount of a compound according to claim 1, or a pharmaceutically acceptable salt thereof.
 16. A method of treatment or prophylaxis of emesis in mammals, which comprises the administration to the mammal of an effective amount of a compound according to claim 1, or a pharmaceutically acceptable salt thereof.
 17. A method of treatment of anxiety in mammals, which comprises the administration to the mammal of an effective amount of a compound according to claim 1, or a pharmaceutically acceptable salt thereof.
 18. A method of treatment of psychosis in mammals, which comprises the administration to the mammal of an effective amount of a compound according to claim 1, or a pharmaceutically acceptable salt thereof.
 19. A pharmaceutical composition for the treatment of anxiety, comprising an effective amount of a compound according to claim 1, or a pharmaceutically acceptable salts thereof, and a pharmaceutically acceptable carrier.
 20. A pharmaceutical composition for the treatment of psychosis, comprising an effective amount of a compond according to claim 1, or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier. 